Skip to content

Conversation

@maksym-eshyft
Copy link
Contributor

Move the created workaround logic within collectBankAccountToken to execute only after confirming no error occurred.

This prevents an access error that occurs when a user cancels the bank account collection flow, as the result object is incomplete and attempting to read the created property throws an exception.

@maksym-eshyft
Copy link
Contributor Author

@remonh87 @jonasbark

@jonasbark jonasbark merged commit 284d0ab into flutter-stripe:main Nov 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants